package com.hxexp.weixin.hpe.api.querybind.model;

import com.hxexp.weixin.model.CommonResult;

/**
 * 查询微信用户和HPE用户绑定关系返回结果
 *
 * @author wang.bin
 *
 */
public final class QueryBindResultBean extends CommonResult {

    private static final long serialVersionUID = 595576184739975647L;
    /**
     * 微信用户openId
     */
    private String openId;
    /**
     * 用户ID
     */
    private String userId;

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return String.format("QueryBindResultBean [openId=%s, userId=%s,errcode=%d,errmsg=%s]", openId, userId,
                this.getErrcode(), this.getErrmsg());
    }

}
